package com.xander.qqdatabase.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author 叶振东
 * @date 2019-01-23
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties({"handler", "javassistProxyFactory"})
public class Log {
    private Integer lid;

    private Integer uid;

    private String username;

    private Integer num;

    private String note;

    private String ip;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
}
